﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EmployeeLeaveSystem.Shared.Models {
    public class AddMoveDepartment {
        [Display(Name = "编号")]
        public int Id { get; set; }
        [Display(Name = "员工编号")]
        public int? StaffId { get; set; }
        [Display(Name = "员工信息")]
        public StaffInfo? Staff { get; set; }
        [Display(Name = "创建时间")]
        public DateTime? Created { get; set; }
        [Display(Name = "去向部门ID")]
        public int? ToDepartmentId { get; set; }
        [Display(Name = "去向部门信息")]
        public Department? ToDepartment { get; set; }
        [Display(Name = "理由")]
        public String Reason { get; set; } = String.Empty;
        // 本条目的附件内容
        [Display(Name = "附件")]
        public List<FileInfos> Files { get; set; } = new();
        [Display(Name = "接受状态")]
        public AcceptFlag AcceptFlag { get; set; }
    }
}
